* {
  margin: 0;
  padding: 0;
  font-family: 'Microsoft YaHei', '微软雅黑';
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Arial', sans-serif;
  /* background-color: rgba(121, 121, 121, 0.3); */
}

a {
  text-decoration: none;
}

ul li {
  list-style: none;
}

/* nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  width: 100%;
  background-color: white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  padding: 15px 0;
  border-radius: 0;
  z-index: 1001;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.mobile-nav a {
  color: black;
  text-decoration: none;
  padding: 12px 0;
  font-size: 18px;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  transition: background-color 0.3s;
  border-bottom: 1px rgba(99, 182, 255, 0.09) solid;
}

.mobile-nav a:hover {
  background-color: #f0f0f0;
}

.mobile-nav.show {
  display: flex;
}

#menu-toggle {
  display: none;
  color: white;
}

#menu-toggle:hover {
  color: black;
}

@media screen and (max-width: 768px) {

  .nav-center,
  .right {
    display: none !important;
  }

  #menu-toggle {
    display: block;
    font-size: 24px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
  }

  #nav.scrolled,
  #nav:hover {
    background-color: white;
    color: black;
  }

  #nav:hover a {
    color: black;
  }
}

#nav {
  position: fixed;
  z-index: 999;
  width: 100%;
  /* backdrop-filter: blur(10px); */
  transition: all 0.5s ease-in-out;
  border-bottom: 1px rgba(255, 255, 255, .09) solid;
  color: white;
}

#nav a {
  color: white;
}

#nav.scrolled a {
  color: black;
}

#nav.scrolled {
  color: black;
  background-color: white;
  transition: 1s;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, .2);
}

#nav.scrolled #menu-toggle {
  color: black;
}


#nav:hover {
  transition: all 0.8s ease-in-out;
  background-color: white;
  color: black;
}

#nav:hover a {
  transition: all 0.5s ease-in-out;
  color: black;
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
}

.nav-center {
  list-style: none;
  display: flex;
  /* gap: 20px; */
  padding: 0;
  margin: 0;
}

.nav-center li {
  padding: 5px 20px 5px 20px;
  border-radius: 25px;
}

.nav-center li:hover {
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
  transition: 0.5s;
}

.logo img {
  width: 30px;
}

.banner {
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}


/* side */
#side {
  z-index: 999;
  position: fixed;
  bottom: 10%;
  right: 2%;
  display: flex;
  flex-direction: column;
  width: 50px;
  /* background-color: aqua; */
}

#jiantou {
  display: none;
}

.jiantou img {
  transform: rotate(-90deg);
  width: 90%;
}

#setting {
  margin-top: 10px;
  margin-right: -8px;
}

#setting img {
  width: 80%;
  animation: settingxz 3s linear infinite;
}

@keyframes settingxz {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* side */

/* product */
#product {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.product {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.product-title {
  font-size: 25px;
  text-align: center;
  height: 100px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.xiao-title {
  font-size: 20px;
  color: #8bacff;
}

.product-content {
  width: 100%;
}

.product-content ul {
  justify-content: center;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.product-content ul li {
  width: calc(50% - 20px);
  /* Ensures two items per row */
  padding: 10px;
  /* box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.3); */
  /* overflow: hidden; */
  margin-bottom: 10px;
  border-radius: 3px;
  box-sizing: border-box;
}

.product-img {
  /* overflow: hidden; */
  display: flex;
  justify-content: center;
  border-radius: 3px;
}

.product-img img {
  width: 75%;
  transition: 0.5s;
}

.product-img img:hover {
  transform: scale(1.1);
}

.product-text {
  margin-top: 10px;
  display: flex;
  align-items: center;
  flex-direction: column;
}

.product-text span:nth-child(1) {
  font-size: 20px;
}

.product-text span:nth-child(2) {
  color: red;
}

.more {
  align-items: center;
  color: black;
  margin-top: 20px;
  padding: 10px 25px 10px 25px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  transition: all 0.5s;
}

.more:hover {
  background-color: white;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
  transform: scale(1.1);
  color: #8bacff;
}

@media (min-width: 1025px) {
  .product-content ul li {
    width: calc(40% - 20px);
  }
}

@media (max-width: 1024px) {
  .product-title {
    font-size: 22px;
  }

  .product-content ul li {
    width: 45%;
  }

  .more {
    padding: 8px 20px;
  }
}

@media (max-width: 768px) {
  .product-title {
    font-size: 18px;
    height: 80px;
  }

  .product-content ul li {
    margin-top: 10px;
    width: 90%;
  }

  .product-text span:nth-child(1) {
    font-size: 18px;
  }

  .product-text span:nth-child(2) {
    font-size: 16px;
  }

  .more {
    padding: 8px 20px;
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .product-title {
    font-size: 16px;
    height: 70px;
  }

  .product-content ul li {
    width: 100%;
    margin: 10px 20px;
  }

  .product-text span:nth-child(1) {
    font-size: 16px;
  }

  .product-text span:nth-child(2) {
    font-size: 14px;
  }

  .more {
    font-size: 14px;
    padding: 6px 15px;
  }
}

/* product */

/* about */
#about {
  margin-top: 3%;
  display: flex;
  justify-content: center;
  width: 100%;

}

.about {
  width: 100%;
}

.about-title {
  font-size: 25px;
  text-align: center;
  height: 100px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-content {
  height: 400px;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  width: 100%;
  background-attachment: fixed;
  background-image: url("../images/index/banner2.jpg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: auto;
}

.about-content span {
  font-size: 40px;
  background: linear-gradient(45deg, #777777, #0088ff, #ff4d4d);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}


.about-content p {
  margin-top: 20px;
  font-size: 20px;
  width: 80%;
}

.about-more {
  border-radius: 10px;
  margin-top: 50px;
  padding: 10px 20px 10px 20px;
  background-color: white;
  color: black;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
  transition: all 0.5s;
}

.about-more:hover {
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
  transform: scale(1.1);
  color: #8bacff;
}

/* foot */

#foot {
  display: flex;
  justify-content: center;
  text-align: center;
  align-items: center;
  margin-top: 25px;
  height: 200px;
  background-color: rgb(103, 103, 103);
}

.foot p {
  padding: 2px;
  color: white;
}

/* foot */